home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 12 - 1996 / 12.12 Dec 96 / Custom AppMaker 2 / AM Code / SoundsDemoMain.cp < prev   
Encoding:
Text File  |  1996-03-20  |  662 b   |  36 lines  |  [TEXT/CWIE]

  1. // SoundsDemoMain.cp -- Main
  2. // Created 20/3/96 12:28 by AppMaker
  3.  
  4. #include "CSoundsDemoApp.h"
  5.  
  6. #include <LGrowZone.h>
  7. #include <UDrawingState.h>
  8. #include <UMemoryMgr.h>
  9. #include <UPowerTools.h>
  10.  
  11. //----------
  12. void
  13. main()
  14. {
  15.                                     // Set Debugging options
  16. #ifdef Debug_Throw
  17.     gDebugThrow = debugAction_Alert;
  18. #endif
  19.  
  20. #ifdef Debug_Signal
  21.     gDebugSignal = debugAction_Alert;
  22. #endif
  23.  
  24.     InitializeHeap(3);
  25.     UQDGlobals::InitializeToolbox(&qd);
  26.  
  27. #ifdef Debug_Signal                    // Check for missing MBAR, which
  28.     CheckForInitialMBAR();            // probably means that there is no
  29. #endif                                // project resource file
  30.  
  31.     new LGrowZone(20000);
  32.  
  33.     CSoundsDemoApp    theApp;
  34.     theApp.Run();
  35. }
  36.